#include <QApplication>
#include "mainwindow.h"
#include "settings.h"

int main(int argc, char *argv[]) {
    QApplication app(argc, argv);

    // 打印调试信息
    qDebug() << "Starting the application...";

    Settings settings("MyCompany", "FileBackupTool");
    MainWindow mainWindow;

    // 打印调试信息
    qDebug() << "MainWindow created, showing now...";

    mainWindow.show();

    // 启动事件循环
    return app.exec();
}
